T
The specified enumeration type for the returned value.
Keysight Pathwave 89600 VSA .NET API
Value<T>(String,T) Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > StateDictionary Class > Value Method : Value<T>(String,T) Method


key
The key.
defaultValue
The returned value if the key is not found or the value cannot be converted to the specified enumeration.

Glossary Item Box

Returns the enumeration value associated with the specified key.

Syntax

Visual Basic (Declaration) 
Public Overloads MustOverride Function Value(Of T)( _
   ByVal key As String, _
   ByVal defaultValue As T _
) As T
C# 
public abstract T Value<T>( 
   string key,
   T defaultValue
)
C++/CLI 
public:
abstract T^ Valuegeneric<typename T>
( 
   String^ key,
   T^ defaultValue
) 

Parameters

key
The key.
defaultValue
The returned value if the key is not found or the value cannot be converted to the specified enumeration.

Type Parameters

T
The specified enumeration type for the returned value.

Return Value

The enumeration value.

Remarks

See Item for more information about keys.

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also